package com.bigdata.dao;

import com.bigdata.common.base.BaseDao;
import com.bigdata.model.Menu;
import com.bigdata.model.User;

import java.util.List;
import java.util.Map;

public interface MenuMapper  extends BaseDao<Menu, Long> {
    int deleteByPrimaryKey(Integer resId);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer resId);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);


    public List<Menu> findRoleResourcess(String roleId);

    public List<Menu> findRes(Map<String, Object> map);

    List<Menu> findMenuByWhere();
}